﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WpfApplication2
{
    public static class HelperClass
    {
        //public static String ConvertStringtoBase64(String s1)
        //{
        //    return s1;
           
        //}
        public static String ConvertBase64toString(String s1)
        {

            
            byte[] encodedDataAsBytes = System.Convert.FromBase64String(s1);
            s1= System.Text.ASCIIEncoding.ASCII.GetString(encodedDataAsBytes);
            return s1;
        }
    }
}
